package com.yc.projects.pro4_mysql;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Service;

import java.util.List;
@Controller
public class BookBiz {
    @Autowired
    private BookDao bookDao;

    public List<BookBean> findBook() {

        return bookDao.findBook();
    }
}
